from dataclasses import dataclass


@dataclass(frozen=True)
class DiscountDTO:
    id: int
    shop_id: int
    category_id: int
    required_quantity: int
    discount_percent: float
    works_inside_category: bool
